<!DOCTYPE html>
<html lang="en" ng-app="app">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
</head>
<body>
	<hello></hello>
	<hello></hello>
	<hello></hello>
	<hello></hello>

	<script src="angular.js"></script>
	<script type="text/javascript">
		var module = angular.module("app", []);

		module.directive("hello", function() {
			return {
				scope: {},
				restrict: "E",
				template: "<div><input type='text' ng-model='username' />{{username}}</div>",
				replace: true
			}
		})
	</script>
</body>
</html>